let defaultCity = '北京'
let defaultJob = 'Web前端'
let jobs_id = '0001'
let userMsg = {}

try {
  if (localStorage.city) {
    defaultCity = localStorage.city
  }
} catch (e) { }

try {
  if (localStorage.job) {
    defaultJob = localStorage.job
  }
} catch (e) { }

try {
  if (localStorage.jobs_id) {
    jobs_id = localStorage.jobs_id
  }
} catch (e) { }


// try {
//   if (localStorage.userMsg) {
//     userMsg = JSON.parse(localStorage.userMsg)
//   }
// } catch (e) {}

export default {
  city: defaultCity,
  job: defaultJob,
  jobs_id: jobs_id,
  userMsg: userMsg
}
